<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Huairou Symmetry Platform | 怀柔对称性研究平台 | CMPDC, IOP</title>

    <!-- SEO Meta Tags -->
    <meta
      name="description"
      content="The Huairou Symmetry Platform (HSP) is a comprehensive symmetry database covering crystallographic point groups, space groups, magnetic space groups, and spin space groups with representation theory data. Serving quantum materials, spintronics, and topological phase research. 怀柔对称平台是一个面向晶体、磁性和拓扑领域的对称性数据库。"
    />
    <meta
      name="keywords"
      content="symmetry, point groups, space groups, magnetic space groups, spin space groups, representation theory, character tables, crystallography, topology, quantum materials, spintronics, CMPDC, Institute of Physics, Chinese Academy of Sciences, 对称性, 点群, 空间群, 磁性空间群, 自旋空间群, 表示论, 特征标表, 晶体学, 拓扑, 量子材料"
    />
    <meta name="author" content="CMPDC, Institute of Physics, Chinese Academy of Sciences" />
    <meta name="robots" content="index, follow" />
    <meta name="theme-color" content="#4f46e5" />

    <!-- Canonical URL -->
    <link rel="canonical" href="https://cmpdc.iphy.ac.cn/hsp/" />

    <!-- Structured Data -->
    <script type="application/ld+json">
      {
        "@context": "https://schema.org",
        "@type": "WebSite",
        "name": "Huairou Symmetry Platform",
        "alternateName": "怀柔对称性研究平台",
        "url": "https://cmpdc.iphy.ac.cn/hsp/",
        "description": "A comprehensive symmetry database covering crystallographic point groups, space groups, magnetic space groups, and spin space groups with representation theory data.",
        "inLanguage": ["en", "zh-CN"],
        "publisher": {
          "@type": "Organization",
          "name": "Condensed Matter Physics Data Center, IOP, CAS",
          "alternateName": "中科院物理所凝聚态物理数据中心",
          "url": "https://cmpdc.iphy.ac.cn/",
          "logo": {
            "@type": "ImageObject",
            "url": "https://cmpdc.iphy.ac.cn/hsp/logo-cmpdc.png"
          }
        },
        "potentialAction": {
          "@type": "SearchAction",
          "target": "https://cmpdc.iphy.ac.cn/hsp/?q={search_term_string}",
          "query-input": "required name=search_term_string"
        }
      }
    </script>

    <!-- Favicon -->
    <link rel="icon" type="image/png" href="/favicon.png" />
    <link rel="apple-touch-icon" href="/favicon.png" />

    <!-- DNS 预连接优化 -->
    <link rel="preconnect" href="https://cmpdc.iphy.ac.cn" />

    <!-- 分析脚本 - 开发环境禁用 -->
    <script>
      if (window.location.hostname !== 'localhost' && window.location.hostname !== '127.0.0.1') {
        // Plausible Analytics
        const script = document.createElement('script')
        script.defer = true
        script.setAttribute('data-domain', 'cmpdc.iphy.ac.cn/hsp')
        script.setAttribute('data-api', 'https://cmpdc.iphy.ac.cn/plausible/api/event')
        script.src = 'https://cmpdc.iphy.ac.cn/plausible/js/script.js'
        document.head.appendChild(script)

        // Piwik Analytics
        var _paq = _paq || []
        /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
        _paq.push(['setDocumentTitle', document.domain + '/' + document.title])
        _paq.push(['trackPageView'])
        _paq.push(['enableLinkTracking'])
        ;(function () {
          var u = '//analytics.escience.org.cn/'
          _paq.push(['setTrackerUrl', u + 'piwik.php'])
          _paq.push(['setSiteId', '67'])
          var d = document,
            g = d.createElement('script'),
            s = d.getElementsByTagName('script')[0]
          g.type = 'text/javascript'
          g.async = true
          g.defer = true
          g.src = u + 'piwik.js'
          s.parentNode.insertBefore(g, s)
        })()
      }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
